<?php

require '../../lib.php';

$openId = TestUser::user()->id();
$companyId = TestUser::user()->companyId();
$model = new CSCorpModel();
$api = OpenHelper::api();

$dep_id = $_GET['dep_id'] ? $_GET['dep_id'] : '1291619508';

$result = $api->sendBroadCast($companyId, $model->getToken($companyId), getClientIp(), '日报时间到了', '日报日报日报日报日报日报(╯°Д°)╯', $dep_id, '');
OpenUtils::outputJson($result);
